package com.zhangyj.dao;

import java.sql.SQLException;
import java.util.List;

import com.zhangyj.entitis.Client;
import com.zhangyj.entitis.ClientType;
import com.zhangyj.util.Pagination;

public interface ClientDao {
	public List<ClientType> getTypes() throws SQLException ;
	public ClientType loadType(String typeId) throws SQLException ;
	public void delType(String typeId) throws SQLException;
	public void saveType(ClientType pt, boolean isUpdate) throws SQLException;
	public List<Client> getClientList(Pagination p, String con) throws SQLException ;
	public void save(Client client, boolean isUpdate) throws SQLException;
	public Client loadClient(String khbh) throws SQLException;
	public void del(String khbh) throws SQLException ;
	public void fpzy(String khbh,int userid) throws SQLException ;
	public int getClientCount( String con) throws SQLException;
}
